package com.zhangzhan.gulimallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangzhan.gulimallcommcon.util.PageUtils;
import com.zhangzhan.gulimallproduct.entity.SpuInfoEntity;
import com.zhangzhan.gulimallproduct.vos.SpuInfoVo;
import com.zhangzhan.gulimallproduct.vos.spu.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author zhangzhan
 * @email sunlightcs@gmail.com
 * @date 2024-06-12 16:45:44
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(SpuSaveVo saveVo);

    PageUtils queryPageDetail(Map<String, Object> params);

    void up(Long spuId);


    SpuInfoVo listBySkuId(Long skuId);
}

